CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
PROJECT(C4_WITH_CLASS)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_FLAGS "-g -std=c++17")

ADD_EXECUTABLE(${PROJECT_NAME} 
                src/main.cpp 
                src/lexer.cpp 
                src/parser.cpp 
                src/codegen.cpp 
                src/AstNode.cpp
                src/Diagnosis.cpp
                src/Type.cpp)